package com.mt.course.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class DatumEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -3251310614896688628L;

    private Integer datumId;

    private Integer datumCategoryId;

    private Integer topCategoryId;

    private Integer categoryId;

    private Integer courseId;

    private String datumName;

    private String datumThumb;

    private String datumAddress;

    private BigDecimal shopPrice;

    private BigDecimal marketPrice;

    private String keywords;

    private Integer clickCount;

    private Integer sortOrder;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private String agentDatumAddress;

    private Integer isChuan;

    private DatumCategoryEntity datumCategoryEntity;

    private Integer isPay;

    private Integer isShow;

    /**
     * 逻辑删除字段
     */
    private Integer isDelete;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 资料的有效期，如果是套课取自CustomerCourseEntity对象中的endTime时间
     */
    private Date endTime;

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getDatumId() {
        return datumId;
    }

    public void setDatumId(Integer datumId) {
        this.datumId = datumId;
    }

    public Integer getDatumCategoryId() {
        return datumCategoryId;
    }

    public void setDatumCategoryId(Integer datumCategoryId) {
        this.datumCategoryId = datumCategoryId;
    }

    public Integer getTopCategoryId() {
        return topCategoryId;
    }

    public void setTopCategoryId(Integer topCategoryId) {
        this.topCategoryId = topCategoryId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getDatumName() {
        return datumName;
    }

    public void setDatumName(String datumName) {
        this.datumName = datumName == null ? null : datumName.trim();
    }

    public String getDatumThumb() {
        return datumThumb;
    }

    public void setDatumThumb(String datumThumb) {
        this.datumThumb = datumThumb == null ? null : datumThumb.trim();
    }

    public String getDatumAddress() {
        return datumAddress;
    }

    public void setDatumAddress(String datumAddress) {
        this.datumAddress = datumAddress == null ? null : datumAddress.trim();
    }

    public BigDecimal getShopPrice() {
        return shopPrice;
    }

    public void setShopPrice(BigDecimal shopPrice) {
        this.shopPrice = shopPrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords == null ? null : keywords.trim();
    }

    public Integer getClickCount() {
        return clickCount;
    }

    public void setClickCount(Integer clickCount) {
        this.clickCount = clickCount;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAgentDatumAddress() {
        return agentDatumAddress;
    }

    public void setAgentDatumAddress(String agentDatumAddress) {
        this.agentDatumAddress = agentDatumAddress == null ? null : agentDatumAddress.trim();
    }

    public Integer getIsChuan() {
        return isChuan;
    }

    public void setIsChuan(Integer isChuan) {
        this.isChuan = isChuan;
    }

    public DatumCategoryEntity getDatumCategoryEntity() {
        return datumCategoryEntity;
    }

    public void setDatumCategoryEntity(DatumCategoryEntity datumCategoryEntity) {
        this.datumCategoryEntity = datumCategoryEntity;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}